﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.DTO.ViewModel
{
    /// <summary>
    /// 系统日志分页查询
    /// </summary>
    public class PagelogRecordDTO
    {
        /// <summary>
        /// 操作人模糊查询
        /// </summary>
        public string? Operatorname { get; set; }

        /// <summary>
        /// 日志分类
        /// </summary>
        public string Classify { get; set; }

        /// <summary>
        /// 第几页
        /// </summary>
        public int Pageindex { get; set; } = 1;

        /// <summary>
        /// 每页几条
        /// </summary>
        public int Pagesize { get; set; } = 10;

        /// <summary>
        /// 排序字段名称
        /// </summary>
        public string Sortedby { get; set; }

        /// <summary>
        /// 排序类型( ASC或DESC ）
        /// </summary>
        public string Sorttype { get; set; } = "ASC";
    }
}
